var IntegralSql = {
    insert:'INSERT INTO integral(user_phone) VALUES(?)', 
    queryAll:'SELECT * FROM integral',  
    getScoreByPhone:'SELECT * FROM integral WHERE user_phone = ? ',
    delScoreByPhone:'DELETE FROM integral WHERE user_phone = ?',
    delScoreByID:'DELETE FROM integral WHERE id = ?',
    updateScorePhone:'UPDATE integral SET score=? where user_phone=?'
  }

  module.exports = IntegralSql;